﻿using System;
using System.Collections.Generic;
using SIG.Model;

namespace SIG.Service
{
    public interface IProductService : IEntityService<Product>
    {
        //IEnumerable<Product> GetActiveProducts(int CategoryId);

        Product GetProductByIdWithCategories(int id);

        List<Product> GetPagedElements(int pageIndex, int pageSize, string keyword, int? categoryId, out int totalCount);
        List<Product> GetActivePagedElements(int pageIndex, int pageSize, string keyword, int? categoryId, out int totalCount);

    
        void UpdateProductWithCategory(Product product);
        List<Product> RecommendProducts(int count);
    }
}
